package com.mv.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@TableName("card")
public class Card extends BasePojo{
    @TableId
    private String id;
    private Integer userId;
    private Double money;       //会员卡余额
    private Integer integral;   //会员卡积分
    private Integer status;     //会员卡状态
    @TableField(exist = false)
    private Double price;       //充值金额
    @TableField(exist = false)
    private Boolean flag;
    @TableField(exist = false)
    private Integer integralSum;
    @TableField(exist = false)
    private Integer careIntegral;
    @TableField(exist = false)
    private Integer waresId;
}
